/*
 * create by Littleken at 2019/3/14 12:01
 */
package com.littleken.product.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
/**
 * json数据处理，用于拼装商品信息数据
 */
public class ProductVO  implements Serializable {
    private static final long serialVersionUID = 6641949454908158341L;//可序列化，用于页面缓存

    @JsonProperty("name")
    private String categoryName;

    @JsonProperty("type")
    private Integer categoryType;

    @JsonProperty("foods")
    private List<ProductInfoVO> productInfoVOList;

}
